package com.qidi.ssh.service;

import com.qidi.ssh.bean.Customer;
import com.qidi.ssh.utils.PageBean;
import org.hibernate.criterion.DetachedCriteria;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.util.List;

/**
 * @author zhouXinBin
 * @create 2020-10-16-21:52
 */
public interface CustomerService {
    public void saveCustomer(Customer customer);

    PageBean<Customer> ListByPage(DetachedCriteria detachedCriteria, Integer pageSize, Integer pageNo);

    public void deleteCustomer(Long cust_id);
    public Customer edit(Long cust_id);
    public void UpdateCustomer(Customer customer);
    public List<Customer> findAlls();
}
